<?php

class User extends Model {
    /* Nombre de Tabla en Base de Datos */

    static $table = "users";

    /* Propiedades */
    protected $id;
    protected $username;
    protected $password;
    protected $role_id;


    /* Metodos */

    public function getUsername() {
        return $this->username;
    }

    public function setUsername($username) {
        $this->username = $username;
    }

    public function getPassword() {
        return $this->password;
    }

    public function setPassword($password) {
        $this->password = $password;
    }

    public function getRole_id() {
        return $this->role_id;
    }

    public function setRole_id($role_id) {
        $this->role_id = $role_id;
    }

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

}

?>
